<div class="col-md-8 col-md-offset-1 col-xs-12">
    <form class="form-horizontal" role="form" method="post" action="<?php echo page_url('kich-hoat/do'); ?>">
    	<div class="form-group">
            <div class="col-md-12 col-xs-12">
                <div class="clearfix mgt15"></div>
                <h4 class="modal-title text-center" id="myModalLabelLogin">Kích hoạt tài khoản</h4>
            </div>
            <div class="col-md-12">
                <div id="message" class="alert hidden"></div>
                <p id="active-success" class="hidden text-center text-success">Đang chuyển tới trang chủ...</p>
            </div>
        </div>
        <div class="form-group">
            <div class="col-md-7 col-md-offset-4">
                (<span class='text-danger'>*</span>) không được để trống
            </div>
        </div>
        <div class="form-group">
    		<label for="username" class="col-md-4 control-label">Tên đăng nhập</label>
            <div class="col-md-7">
    		  <input name="active[username]" type="text" readonly="readonly" class="form-control" id="username" value="<?php echo $user->getUsername(); ?>" />
            </div>
            <div class="clearfix"></div>
        </div>    
    	<div class="form-group">
    		<label for="password" class="col-md-4 control-label"><span class='text-danger'>*&nbsp;</span>Mật khẩu</label>
    		<div class="col-md-7">
                <input name="active[password]" type="password" class="form-control" id="password" />
            </div>
            <div class="clearfix"></div>
    	</div>
    	<div class="form-group">
    		<label for="email" class="col-md-4 control-label">Email</label>
    		<div class="col-md-7">
                <input name="active[email]" type="text" readonly="readonly" class="form-control" id="email" value="<?php echo $user->getEmail(); ?>" />
    	   </div>
           <div class="clearfix"></div>
        </div>
    	<div class="form-group">
    		<label for="phone" class="col-md-4 control-label"><span class='text-danger'>*&nbsp;</span>Điện thoại</label>
    		<div class="col-md-7">
                <input name="active[phone]" type="text" class="form-control" id="phone" />
            </div>
            <div class="clearfix"></div>
    	</div>
    	<div class="form-group">
    		<label for="address" class="col-md-4 control-label"><span class='text-danger'>*&nbsp;</span>Địa chỉ</label>
    		<div class="col-md-7"><textarea name="active[address]" class="form-control" id="address"></textarea></div>
    	</div>
    	<div class="form-group">
    		<label for="fullname" class="col-md-4 control-label"><span class='text-danger'>*&nbsp;</span>Họ tên</label>
    		<div class="col-md-7">
                <input name="active[full_name]" type="text" class="form-control" id="fullname" value="<?php echo $user->getFullName();?>"/>
    	   </div>
           <div class="clearfix"></div>
        </div>
    	<div class="form-group">
    		<label for="birthday" class="col-md-4 control-label">Ngày sinh<br />(yyyy-mm-dd)</label>
            <div class="col-md-7">
                <input name="active[birthday]" type="text" class="form-control input-date" id="birthday" />
            </div>
            <div class="clearfix"></div>
    	</div>
    	<div class="form-group">
    		<label for="gender" class="col-md-4 control-label">Giới tính</label>
    		<div class="col-md-7">
                <div class="btn-group" data-toggle="buttons">
        			<label class="btn btn-primary">
        				<input type="radio" name="active[gender]" id="option1" value="1" checked="checked" /> Nam
        			</label>
        			<label class="btn btn-primary">
        				<input type="radio" name="active[gender]" id="option2" value="0" /> Nữ
        			</label>
        			<label class="btn btn-primary">
        				<input type="radio" name="active[gender]" id="option3" value="2" /> Không tiết lộ
        			</label>
        		</div>
                <div class="pull-right">
                    <input type="hidden" name="active[id]" value="<?php echo $this->encrypt->encode($user->getId()); ?>" />
                    <button type="button" id="active-btn" class="btn btn-success">
                        <i class='glyphicon glyphicon-ok-sign'></i>&nbsp;
                        Cập nhật
                    </button>    
                </div>
            </div>
            <div class="clearfix"></div>
    	</div>
    </form>
</div>